package seqlist;

public class LinkedListTest {
    public static void main(String[] args) {
        SingleLinkedList singleLinedList=new SingleLinkedList();

       singleLinedList.addFirst(40);
       singleLinedList.addFirst(10);
       singleLinedList.addFirst(20);
       singleLinedList.addFirst(30);
        singleLinedList.add(3,40);
        singleLinedList.addLast(40);
//        singleLinedList.removeValuOnce(10);
        singleLinedList.removeAllValue(40);
       // System.out.println(singleLinedList.remove(2));
        System.out.println(singleLinedList);
//        System.out.println(singleLinedList.getByVakue(20));
//        System.out.println(singleLinedList.contains(40));
//        System.out.println(singleLinedList.get(1));
    }
}
